package com.tang.nacos.config;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import org.apache.shardingsphere.api.sharding.complex.ComplexKeysShardingValue;

/**
 * @Author tanglingyu
 * @Date: 2021/07/06/ 22:02
 * @Description
 */
public class Strategy {


  public static Map doSomeThing(Collection collection,
      ComplexKeysShardingValue complexKeysShardingValue) {
    System.out.println("集合:" + collection);
    Map columnNameAndShardingValuesMap = complexKeysShardingValue
        .getColumnNameAndShardingValuesMap();
    System.out.println("传入的参数列表:" + columnNameAndShardingValuesMap);
    return columnNameAndShardingValuesMap;
  }
}
